package com.example.aigc_education.service;

import com.example.aigc_education.domain.Course;
import com.example.aigc_education.domain.UserCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.aigc_education.domain.po.SelectCourseByStuPO;
import com.example.aigc_education.domain.po.SelectStuByTeacherPO;

import java.util.List;

/**
* @author 23918
* @description 针对表【stu_user_course】的数据库操作Service
* @createDate 2024-05-29 22:26:06
*/
public interface UserCourseService extends IService<UserCourse> {

    UserCourse addUserCourseId(Long userId, String courseId);
    void deleteUserCourseByCourseId(String courseId);
    List<String> selectAllCourseIdByUserId(Long userId);

/*    List<String> selectCourseNameByUserId(Long userId);

    List<SelectStuByTeacherPO> selectStuList(Long courseId, Long userId);*/

    List<SelectCourseByStuPO> selectStuCourse(Long userId);

    List<Course> selectAllCourse();
}
